﻿using SqlSugar;
using System;

namespace CoreShop.Model
{
    public class corecmsuserpoint
    {
        /// <summary>
        /// id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(ColumnName = "userId", IsNullable = true)]
        public Int64? userId { get; set; }

        /// <summary>
        /// 总店Id
        /// </summary>
        [SugarColumn(ColumnName = "corpId", IsNullable = true)]
        public Int32? corpId { get; set; }

        /// <summary>
        /// 门店Id
        /// </summary>
        [SugarColumn(ColumnName = "storeId", IsNullable = true)]
        public Int64? storeId { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [SugarColumn(ColumnName = "type", IsNullable = true)]
        public Int32? type { get; set; }

        /// <summary>
        /// 积分数量
        /// </summary>
        [SugarColumn(ColumnName = "num", IsNullable = true)]
        public Int32? num { get; set; }

        /// <summary>
        /// 积分剩余
        /// </summary>
        [SugarColumn(ColumnName = "balance", IsNullable = true)]
        public Int32? balance { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "remarks", IsNullable = true)]
        public string remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "createTime", IsNullable = true)]
        public DateTime createTime { get; set; }
    }
}